package com.edu.bean;

public class User {
    private int userId;
    private  String realName;
    private  String username;
    private String userpass;

    public User() {
    }

    public User(int userId, String userNick, String username, String userpass) {
        this.userId = userId;
        this.realName = userNick;
        this.username = username;
        this.userpass = userpass;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String userNick) {
        this.realName = userNick;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpass() {
        return userpass;
    }

    public void setUserpass(String userpass) {
        this.userpass = userpass;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", realName='" + realName + '\'' +
                ", username='" + username + '\'' +
                ", userpass='" + userpass + '\'' +
                '}';
    }
}
